<script>
import Navigation from './components/Navigation.vue'
import zhCN from 'ant-design-vue/es/locale/zh_CN'

export default {
  data () {
    return {
      locale: zhCN
    }
  },
  components: {
    Navigation
  }
}
</script>

<template>
  <a-config-provider :locale="locale">
    <div id="app">
      <Navigation />
      <main class="main-content">
        <router-view />
      </main>
    </div>
  </a-config-provider>
</template>

<style scoped>
#app {
  min-height: 100vh;
  min-width: 800px;
  background-color: #f5f5f5;
}

.main-content {
  padding: 20px;
}
</style>
